Skip to content

fix(menubar): add Cycle Theme action under Help menu (closes #453) - #474

Open
EVWorth wants to merge 1 commit into
mainfrom
fix/453-menubar-theme-cycle
Open

fix(menubar): add Cycle Theme action under Help menu (closes #453)#474
EVWorth wants to merge 1 commit into
mainfrom
fix/453-menubar-theme-cycle

Conversation

@EVWorth

@EVWorth EVWorth commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Theme was cycleable from TitleBar (Windows/Linux) and Toolbar (macOS inline). The MenuBar had Check-for-Updates but no theme action — leaving macOS users without a single-click shortcut and inconsistent with VS Code / DataGrip / IntelliJ conventions.

Adds:

  • Cycle Theme entry under the Help menu in MenuBar
  • Dispatches a cycle-theme menu-action event
  • AppLayout.handleAction routes that id to a Dark → Light → System cycle via the existing useThemeStore (mirrors Toolbar.cycleTheme)

Files

  • src/components/layout/MenuBar.tsx
  • src/components/layout/AppLayout.tsx
  • src/components/layout/tests/MenuBar.test.tsx (15/15)

Test plan

  • vitest MenuBar 15/15 + full frontend
  • tsc --noEmit clean
  • eslint clean (pre-existing warnings only)

Closes #453

Theme is cycleable from TitleBar (Windows/Linux) and Toolbar (macOS
inline). The native and inline MenuBar had Check-for-Updates but no
theme action, leaving macOS users without a single-click shortcut and
inconsistent with VS Code / DataGrip / IntelliJ conventions.

Adds:
- 'Cycle Theme' under Help menu in MenuBar
- Dispatches the 'cycle-theme' menu-action event
- AppLayout handleAction routes that id to a Dark \u2192 Light \u2192 System
  cycle via the existing useThemeStore (mirrors Toolbar.cycleTheme)

2 new MenuBar tests verify the entry exists and dispatches the
correct event id.

Closes #453

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P1][bug] MenuBar lacks a theme-cycle action; macOS native menu has no theme control at all

1 participant